package com.example.looptask;

import com.google.common.collect.Lists;

import java.util.List;

public class LoopTask {

    public static void main(String[] args) {
        List<Cat> list = Lists.newArrayList();
        for (int i = 0; i < 81; i++) {
            Cat cat = new Cat();
            cat.setCatName("cat-" + (i + 1));
            list.add(cat);
        }

        CatPrintTask catPrintTask = new CatPrintTask("childTask1", 20, list);
        catPrintTask.doExecute();

    }
}